package com.xiay.stringboot.repository;

import com.xiay.stringboot.doman.Employee;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by H-209-FX-XY on 2018/4/23.
 */
public interface EmployeeRepository extends JpaRepository<Employee,Integer>{
    List<Employee> findByUsername(String username);
}
